.TH std::experimental::swap(std::experimental::promise) 3 "2024.06.10" "http://cppreference.com" "C++ Standard Libary"
.SH NAME
std::experimental::swap(std::experimental::promise) \- std::experimental::swap(std::experimental::promise)

.SH Synopsis
   template< class R >

   void swap( std::experimental::promise<R> &lhs,

              std::experimental::promise<R> &rhs ) noexcept;

   Overloads the swap algorithm for std::experimental::promise. Exchanges the state of
   lhs with that of rhs. Effectively calls lhs.swap(rhs).

.SH Parameters

   lhs, rhs - promises whose states to swap

.SH Return value

   \fI(none)\fP

.SH Example

    This section is incomplete
    Reason: no example

.SH See also

   swap swaps two promise objects
        \fI(public member function of std::promise<R>)\fP

.SH Category:
     * Todo no example
